# import imp
import requests
import time


def post():
    url = '192.168.218.219:5001'
    postdatas = {'test': '1'}
    try:
        requests.post(url, data=postdatas)
    except Exception:
        print("error!!!")


while True:
    post()
    time.sleep(4)
